html * {
    margin: 0;
    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
}

/* GENERAL */



#container {
	width:1050px;
	margin: 0 auto;
}

#header {
  width: 100%;
  height: 105px;
  font-size: 2em;
  text-align: center;
  background: #fff url(../images/title1.jpg) bottom repeat-x;  
}
#leftcol {
	clear:both;
	padding-top:2px;
	float: left;
	width: 140px;
	font-size:15px;
	height: 754px;
	text-align:center;
	background: #cac8b9 url(../images/skin/back.jpg) bottom repeat-x;
	border-top:2px solid #fff;
}
#leftcol p{
	height:25px;
	width:140px;
	background:#acc5fe;
	background-image:url(../images/skin/leftcolumn.jpg);
	text-align:center;
	color:black;
	font-weight:bold;
	border-bottom:2px solid #cac8b9;
}
#leftcol a:link,#leftcol a:visited {
    color: #fff;
    font-weight:bold;
    text-decoration: none;
    padding-top:5px;
}
#leftcol a:hover {
    color: #000;
    font-weight:bold;
    font-style:normal;
    text-decoration: none;
}
#main_content {
  background: #cac8b9 url(../images/skin/back.jpg) bottom repeat-x;
  float: left;
  width: 900px;
  height: 750px;
  padding-top:0px;
  padding-left:5px;
  border:2px solid #fff;
}
.content{
	padding-top:5px;
	overflow:auto;
	height:650px;
    width: 880px;
}
.content2{
	padding-top:5px;
	overflow:auto;
	height:600px;
    width: 895px;
}
.content1{
	padding-top:5px;
	padding-left:5px;
	padding-right:5px;
	height:700px;
    width: 880px;
}
#footer {
  background: #cccabb;
  clear: both;
  width: 100%;
  float: center;
  text-align: center;
  height:40px;
  font-size:15px;
}

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;
}

body {
    background: #fff;
    color: #000;
    font: 12px 隶书, arial, helvetica, sans-serif;
}
#grailsLogo {
	padding:20px;
}

a:link, a:visited {
    color: #000;
    font-weight:bold;
    text-decoration: none;
}
a:hover {
    color: #fff;
    font-style:italic;
    font-weight:bold;
    text-decoration: none;
}
h1 {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    margin: .8em 0 .3em 0;
    padding-left:15px;
}
h4 {
	font-size:18px;
}

ul {
    padding-left: 15px;
}

input, select, textarea {
    background-color: #fcfcfc;
    border: 1px solid #ccc;
    font: 11px verdana, arial, helvetica, sans-serif;
    margin: 2px 0;
    padding: 2px 4px;
}
select {
   padding: 2px 2px 2px 0;
}
textarea {
	width: 250px;
	height: 150px;
	vertical-align: top;
}

input:focus, select:focus, textarea:focus {
    border: 1px solid #b2d1ff;
}

.body {
    float: left;
    padding: 0 5px 10px 10px;
    width:880px;
}

/* NAVIGATION MENU */

.nav {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    padding: 0px 12px;
    margin:3px;
    height:30px;
}

.menuButton {
    font-size: 12px;
    padding: 0 5px;
}
.menuButton a {
    color: #333;
    padding: 4px 6px;
}
.menuButton a.home {
    background: url(../images/skin/house.png) center left no-repeat;
    color: #fff;
    padding-left: 25px;
    font-size:14px;
    font-style:bold;
}
.menuButton a.list {
    background: url(../images/skin/database_table.png) center left no-repeat;
    color: #fff;
    padding-left: 25px;
}
.menuButton a.create {
    background: url(../images/skin/database_add.png) center left no-repeat;
    color: #fff;
    padding-left: 25px;
    font-size:12px;
}

/* MESSAGES AND ERRORS */

.message {
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

div.errors {
    background: #fff3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}
div.errors ul {
    list-style: none;
    padding: 0;
}
div.errors li {
	background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
    line-height: 16px;
    padding-left: 30px;
}

td.errors select {
    border: 1px solid red;
}
td.errors input {
    border: 1px solid red;
}
td.errors textarea {
    border: 1px solid red;
}

/* TABLES */

table {
    border: 1px solid #fff;
    width: 100%;
    background: #fff;
}
tr {
    border: 0;
}
td, th {
    font: 12px verdana, arial, helvetica, sans-serif;
    padding: 5px 6px;
    text-align: center;
}
th {
    background: #fff url(../images/skin/shadow.jpg);
    color: #000;
    font-size: 12px;
    font-weight: bold;
    line-height: 15px;
    font-family:幼圆;
	/*padding: 2px 6px;*/
}
th a:link, th a:visited, th a:hover {
    color: #fff;
    display: block;
    font-size: 12px;
    text-decoration: none;
    width: 100%;
}
th.asc a, th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}
th.asc a {
    background-image: url(../images/skin/sorted_asc.gif);
}
th.desc a {
    background-image: url(../images/skin/sorted_desc.gif);
}

.odd {
    background: #eeeeee;
}
.even {
    background: #fff;
}

/* LIST */

.list table {
    border-collapse: collapse;
}
.list th, .list td {
    border-left: 1px solid #d4d6d7;
}
.list th:hover, .list tr:hover {
    background: #b2d1ff;
}

.list1 table {
    border-collapse: collapse;
    border: 1px solid #ccc;
}
.list1 th, .list1 td {
	text-align:left;
    border-left: 1px solid #d4d6d7;
	
}
/* PAGINATION */

.paginateButtons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    border-top: 0;
    color: #666;
    font-size: 10px;
    overflow: hidden;
    padding: 8px 3px;
}
.paginateButtons a {
    background: #fff;
    border: 1px solid #ccc;
    border-color: #ccc #aaa #aaa #ccc;
    color: #666;
    margin: 0 3px;
    padding: 2px 6px;
}
.paginateButtons span {
    padding: 2px 3px;
}

/* DIALOG */

.dialog{
	padding:3px 0;
}
.dialog table {
    padding: 0;
    border:2px solid #ccc;
    background: #fff;
}
.dialog th, .dialog td {
    border: 1px solid #ccc;
}
.prop {
    padding: 2px;
}
.prop .name {
    text-align: center;
    width: 15%;
    white-space: nowrap;
}
.prop .value {
    text-align: left;
    width: 85%;
}

/* ACTION BUTTONS */

.buttons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    color: #666;
    font-size: 10px;
    overflow: hidden;
    padding: 0;
}

.buttons input {
    background: #fff;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    margin-left: 3px;
    overflow: visible;
    padding: 2px 6px;
}
.buttons input.delete {
    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.edit {
    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.save {
    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.resetPsw {
    background: transparent url(../images/skin/Refresh.ico) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.search {
    background: transparent url(../images/skin/datebase_search.png) 5px 50% no-repeat;
    padding-left: 28px;
}
